//
//  Test51.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/30.
//

#include "Test51.hpp"
#include <iostream>
using namespace std;
class Test {
private:
    static int num;
public:
    Test(int);
    void show();
};
int Test::num = 5;
Test::Test(int n) {
    num = n;
}
void Test::show() {
    cout<<num<<endl;
}

void test51() {
    Test t(10);
    t.show();
}
